import request from "../utils/request";
// 获取验证码接口
export function getVeri() {
    return request(
        "/VueHandler/AdminLoginAndRegHandler?action=verification",
        "get"
    );
}
// 校验验证码接口
export function CheckVeri(veri) {
    return request(
        "/VueHandler/AdminLoginAndRegHandler?action=checkVerification",
        "get", {
            veri: veri,
        }
    );
}
// 登录接口
export function _Login(data) {
    return request(
        "/VueHandler/AdminLoginAndRegHandler?action=login",
        "post",
        data
    );
}
// 修改密码接口
export function EditPass(data) {
    return request("/VueHandler/AdminHandler?action=updatepass", "post", data);
  }
//获取用户信息接口
export function getUser(){
    return request("/VueHandler/AdminHandler?action=returnuserinfo", "post");
}
// 退出登录
export function quitLogin() {
    return request("/VueHandler/AdminHandler?action=quit", "get");
  }
  